<include file="Public:header_user"/>

<div class="title_member">
	<h2>{$_title}</h2>
</div>
<form action="" method="post" class="ajax-form">
<div class="form-box">
	<div class="mod">
		<div class="name">UserID</div>
		<div class="text">
			<input type="text" value="{$user_id}" readonly="readonly">
		</div>
	</div>
	
	<notempty name="user.mobile">
	<div class="mod">
		<div class="name">手机号</div>
		<div class="text">
			<input type="text" readonly="readonly" value="{:substr_replace($user['mobile'], '****', 3, 4)}" >
			<a href="{:URL('change_mobile')}">修改</a>
		</div>
	</div>
	</notempty>

	<div class="mod">
		<div class="name">E-mail</div>
		<div class="text">
			<input type="text" readonly="readonly" value="{$user['email']}" >
			<a href="{:URL('change_email')}">修改</a>
		</div>
	</div>

	<div class="mod">
		<div class="name">姓名</div>
		<div class="text">
			<input type="text" name="realname" value="{$user['realname']}" placeholder="请填写真实姓名" datatype="*">
		</div>
	</div>


	<div class="mod">
		<div class="name">性别</div>
		<div class="text">
			<label><input type="radio" value="1" name="sex" <eq name="user.sex" value="1">checked</eq> /> 男 </label>
			<label><input type="radio" value="2" name="sex" <eq name="user.sex" value="2">checked</eq> /> 女 </label>
		</div>
	</div>

	<div class="mod">
		<div class="name">所在城市</div>
		<div class="text">
			{:W('Plugin/area_select', array('', 0, 0, 0 ,'province_id,city_id,area_id', $user['province_id'], $user['city_id'], $user['area_id']))}
		</div>
	</div>

	<div class="mod">
		<div class="name">所在律所</div>
		<div class="text">
			<input type="text" name="work_unit" value="{$lawyer_info['work_unit']}" placeholder="请填写所在律所" datatype="*">
		</div>
	</div>

	<div class="mod">
		<div class="name">执业证号</div>
		<div class="text">
			<input type="text" name="practice_no" value="{$lawyer_info['practice_no']}" placeholder="请填写所在律所" datatype="*">
		</div>
	</div>

	<div class="mod">
		<div class="name">擅长领域</div>
		<div class="text">
			<php>
				$skilled_list = D('Category')->get_list('skilled');
			</php>
			<select name="skilled_id" class="type" datatype="*">
				<option value="">请选择</option>
				<volist name="skilled_list" id="rs">
					<option value="{$rs['id']}" <eq name="rs.id" value="$lawyer_info['skilled_id']">selected</eq>>{$rs['title']}</option>
				</volist>
			</select>
		</div>
	</div>
	<div class="submit-mod">
		<input class="btn" type="submit" value="保存">
	</div>
</div>
</form>
<include file="Public:footer_user"/>